package com.ruoyi.project.remake.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter
@Getter
public class BorrowApprovalVo {

    /** 审批状态 0代表通过，1代表不通过 */
    @Excel(name = "审批状态 0代表申请通过，1代表通过，2代表审核不通过")
    private String approvalStatus;

    /** 审批人 */
    @Excel(name = "审批人")
    private String approvalBy;

    private  String refuse;

    /** 审批时间 */
    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date approvalTime;

    /** 借阅结束时间 */
    @Excel(name = "借阅结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date borrowEndTime;

    /** 借阅开始时间 */
    @Excel(name = "借阅开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date borrowStartTime;

    /** 借阅目的 */
    @Excel(name = "借阅目的")
    private String borrowObjective;

    /** 申请时间 */
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;

    /** 申请医生 */
    @Excel(name = "申请医生")
    private String applyDoctor;

    /** 病例分类 */
    @Excel(name = "病例分类")
    private String classType;

    /** 病历号 */
    @Excel(name = "病历号")
    private String cardNumber;

    /** 住院号 */
    private Long id;

    private  Long classMainId;

    private  String applyDoctorName;

    /** 住院号 */
    @Excel(name = "住院号")
    private  String admissionNumber;


    /** 病人姓名 */
    @Excel(name = "病人姓名")
    private String patientsName;

    /** 病人姓名 */
    @Excel(name = "身份证ID")
    private String cardId;

    /** 病人姓名 */
    @Excel(name = "医保卡ID")
    private String medicalCardId;

    /** 性别 */
    private String patientsGender;

    /** 出院时间 */
    @Excel(name = "出院时间", width = 30, dateFormat = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dischargeTime;

    /** 出院科室 */
    private String leaveDepartment;

    /** 入院科室 */
    private String beDepartment;

    /** 身份证号 */
    private String identityCard;

    /** 打印次数 */
    private Long printNumber;

    private  Integer pagesize;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private  Date  admissionTime;


    private  String height;

    private  String weight;

    private  Date birthday;
}
